package com.boyunv.observer.example02;
/*
 *@description
 *  抽象享元类  五子棋
 *@author boyunv
 *@create 2023/8/9 19:40
 *@version 1.0
 */

public abstract class GobangFlyweight {
  public abstract String getColor();

  public  void  display(){
   System.out.println("棋子的颜色:"+this.getColor());
  }
}
